global datasel 


% actual data
data2 = xlsread('DataDD.xls');
kill = isnan(data2(:,1));
keep = find(kill==0);
data=[data2(keep,5) data2(keep,9:15)];
if datasel ==1 
data = data(2:end,2);
elseif datasel ==2 
data = data(2:107,:); 
elseif datasel ==3 
data = data(125:end,:);
elseif datasel ==4 
data = data(2:end,1:3);
elseif datasel ==5 
data = data(2:107,1:3);
elseif datasel == 6 
data = data(125:end,1:3); 
end
data(:,3:end) = data(:,3:end)/400; 
